/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package util;

import java.math.BigInteger;

/**
 *
 * @author root
 */
public class Arithmetic {
public static BigInteger getPercent(BigInteger base, BigInteger percent) {
  BigInteger unit = base.divide(BigInteger.valueOf(100));
  unit = unit.multiply(percent);
  return unit;
}
}
